﻿CREATE TABLE [dbo].[document] (
    [id_document]     INT            IDENTITY (1, 1) NOT NULL,
    [number]          NVARCHAR (50)  NULL,
    [date]            DATETIME       NULL,
    [description]     NVARCHAR (MAX) NULL,
    [enterprise]      NVARCHAR (MAX) NULL,
    [finished]        BIT            NOT NULL,
    [local_id]        NVARCHAR (50)  NULL,
    [id_kindDocument] INT            NOT NULL,
    [address]         NVARCHAR (MAX) NOT NULL
);

